package com.easyprogram.article.client;

import com.easyprogram.article.pojo.Notice;
import com.easyprogram.article.pojo.NoticeFresh;
import com.easyprogram.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("easyprogram-notice")
public interface NoticeClient {
    // POST /notice  新增通知
    @RequestMapping(value = "/notice", method = RequestMethod.POST)
    public Result save(@RequestBody Notice notice);

}
